﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace VTESCore
{
	[Serializable]
	public class VTESCard
	{
		#region Members

		protected string m_Name;
		protected string m_CardText;
		protected ReleaseSet m_Set;
		protected bool m_Banned;
		protected string m_Artist;
		protected string m_CardArtPath;

		#endregion

		#region Properties
	
		public string Name
		{
			get { return m_Name; }
			set { m_Name = value; }
		}
		public string CardText
		{
			get { return m_CardText; }
			set { m_CardText = value; }
		}
		public ReleaseSet Set
		{
			get { return m_Set; }
			set { m_Set = value; }
		}
		public string Artist
		{
			get { return m_Artist; }
			set { m_Artist = value; }
		}
		public bool Banned
		{
			get { return m_Banned; }
			set { m_Banned = value; }
		}
		public string CardArtPath
		{
			get { return m_CardArtPath; }
			set { m_CardArtPath = value; }
		}
		public string TextureID
		{
			get { return Path.GetFileNameWithoutExtension( CardArtPath ); }
		}
		#endregion
	}
}
